﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MusicExplorer.Model
{
    public sealed class Artist : Entity
    {
        private readonly string m_smallArtwork;
        private readonly string m_bigArtwork;

        public Artist(string id, string name, Repository repository, string smallArtwork, string bigArtwork)
            : base(id, name, repository)
        {
            m_smallArtwork = smallArtwork;
            m_bigArtwork = bigArtwork;
        }

        public Artist(string id, string name, Repository repository, params string[] parameters)
            : base(id, name, repository)
        {
            m_smallArtwork = parameters[0];
            m_bigArtwork = parameters[1];
        }

        public Artist(string id, string name, Repository repository)
            : base(id, name, repository)
        {
            m_smallArtwork = string.Empty;
            m_bigArtwork = string.Empty;
        }

        public override EntityType Type
        {
            get { return EntityType.Artist; }
        }

        public string Url { get; set; }
        public string SmallArtwork { get { return m_smallArtwork; } }
        public string BigArtwork { get { return m_bigArtwork; } }
    }
}
